package com.kdgc.power.fw.util;

import com.kdgc.power.common.util.MathUtil;

public class FenUtil {
    public static String fenToString(String fen) {
        fen = fen.replaceAll("/", "");
        for (int i = 1; i <= 9; i++) {
            fen = fen.replaceAll(i + "", MathUtil.numberTo0(i));
        }
        return fen;
    }

}
